package com.iris.live.services.data.models;

import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;

/**
 * @Author: wangzhenyan
 * 2017/5/19 22:57
 */
@Entity
@Table(name = "t_sales_admin_check", schema = "iris_dev", catalog = "")
public class TSalesAdminCheckModel {
    private Integer id;
    private String importBatch;
    private String permit;
    private String vin;
    private String evaluationUser;
    private Date inStockDt;
    private Date outStockDt;
    private Date reDt;
    private String orderCusName;
    private String invoiceUname;
    private BigDecimal priceTi;
    private BigDecimal freebyIn;
    private BigDecimal freebySubInt;
    private BigDecimal freebyA;
    private BigDecimal freebyB;
    private BigDecimal freebySi;
    private BigDecimal freebyBl;
    private BigDecimal freebySh;
    private BigDecimal freebyOi;
    private String freebyIsIn;
    private String freebyIsSssc;
    private String freebyIsSd;
    private String freebyIsOil;
    private String freebyIsPre;
    private String freebyIsTi;
    private String purTaxSi;
    private BigDecimal reSi;
    private BigDecimal whSi;
    private Date cInStockDt;
    private Date cOutStockDt;
    private Date cReDt;
    private String cOrderCusName;
    private String cInvoiceUname;
    private BigDecimal cPriceTi;
    private BigDecimal cFreebyIn;
    private BigDecimal cFreebySubInt;
    private BigDecimal cFreebyA;
    private BigDecimal cFreebyB;
    private BigDecimal cFreebySi;
    private BigDecimal cFreebyBl;
    private BigDecimal cFreebySh;
    private BigDecimal cFreebyOi;
    private String cFreebyIsIn;
    private String cFreebyIsSssc;
    private String cFreebyIsSd;
    private String cFreebyIsOil;
    private String cFreebyIsPre;
    private String cFreebyIsTi;
    private String cPurTaxSi;
    private BigDecimal cReSi;
    private BigDecimal cWhSi;
    private BigDecimal dInStockDt;
    private BigDecimal dOutStockDt;
    private BigDecimal dReDt;
    private BigDecimal dOrderCusName;
    private BigDecimal dInvoiceUname;
    private BigDecimal dPriceTi;
    private BigDecimal dFreebyIn;
    private BigDecimal dFreebySubInt;
    private BigDecimal dFreebyA;
    private BigDecimal dFreebyB;
    private BigDecimal dFreebySi;
    private BigDecimal dFreebyBl;
    private BigDecimal dFreebySh;
    private BigDecimal dFreebyOi;
    private BigDecimal dFreebyIsIn;
    private BigDecimal dFreebyIsSssc;
    private BigDecimal dFreebyIsSd;
    private BigDecimal dFreebyIsOil;
    private BigDecimal dFreebyIsPre;
    private BigDecimal dFreebyIsTi;
    private BigDecimal dPurTaxSi;
    private BigDecimal dReSi;
    private BigDecimal dWhSi;
    private String compareResult = "00";
    private BigDecimal totalScore;
    private Timestamp importTime;
    private String importUser;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Basic
    @Column(name = "import_batch", nullable = true, length = 16)
    public String getImportBatch() {
        return importBatch;
    }

    public void setImportBatch(String importBatch) {
        this.importBatch = importBatch;
    }

    @Basic
    @Column(name = "permit", nullable = true, length = 8)
    public String getPermit() {
        return permit;
    }

    public void setPermit(String permit) {
        this.permit = permit;
    }

    @Basic
    @Column(name = "vin", nullable = true, length = 50)
    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    @Basic
    @Column(name = "evaluation_user", nullable = true, length = 32)
    public String getEvaluationUser() {
        return evaluationUser;
    }

    public void setEvaluationUser(String evaluationUser) {
        this.evaluationUser = evaluationUser;
    }

    @Basic
    @Column(name = "in_stock_dt", nullable = true)
    public Date getInStockDt() {
        return inStockDt;
    }

    public void setInStockDt(Date inStockDt) {
        this.inStockDt = inStockDt;
    }

    @Basic
    @Column(name = "out_stock_dt", nullable = true)
    public Date getOutStockDt() {
        return outStockDt;
    }

    public void setOutStockDt(Date outStockDt) {
        this.outStockDt = outStockDt;
    }

    @Basic
    @Column(name = "re_dt", nullable = true)
    public Date getReDt() {
        return reDt;
    }

    public void setReDt(Date reDt) {
        this.reDt = reDt;
    }

    @Basic
    @Column(name = "order_cus_name", nullable = true, length = 30)
    public String getOrderCusName() {
        return orderCusName;
    }

    public void setOrderCusName(String orderCusName) {
        this.orderCusName = orderCusName;
    }

    @Basic
    @Column(name = "invoice_uname", nullable = true, length = 50)
    public String getInvoiceUname() {
        return invoiceUname;
    }

    public void setInvoiceUname(String invoiceUname) {
        this.invoiceUname = invoiceUname;
    }

    @Basic
    @Column(name = "price_ti", nullable = true, precision = 2)
    public BigDecimal getPriceTi() {
        return priceTi;
    }

    public void setPriceTi(BigDecimal priceTi) {
        this.priceTi = priceTi;
    }

    @Basic
    @Column(name = "freeby_in", nullable = true, precision = 2)
    public BigDecimal getFreebyIn() {
        return freebyIn;
    }

    public void setFreebyIn(BigDecimal freebyIn) {
        this.freebyIn = freebyIn;
    }

    @Basic
    @Column(name = "freeby_sub_int", nullable = true, precision = 2)
    public BigDecimal getFreebySubInt() {
        return freebySubInt;
    }

    public void setFreebySubInt(BigDecimal freebySubInt) {
        this.freebySubInt = freebySubInt;
    }

    @Basic
    @Column(name = "freeby_a", nullable = true, precision = 2)
    public BigDecimal getFreebyA() {
        return freebyA;
    }

    public void setFreebyA(BigDecimal freebyA) {
        this.freebyA = freebyA;
    }

    @Basic
    @Column(name = "freeby_b", nullable = true, precision = 2)
    public BigDecimal getFreebyB() {
        return freebyB;
    }

    public void setFreebyB(BigDecimal freebyB) {
        this.freebyB = freebyB;
    }

    @Basic
    @Column(name = "freeby_si", nullable = true, precision = 2)
    public BigDecimal getFreebySi() {
        return freebySi;
    }

    public void setFreebySi(BigDecimal freebySi) {
        this.freebySi = freebySi;
    }

    @Basic
    @Column(name = "freeby_bl", nullable = true, precision = 2)
    public BigDecimal getFreebyBl() {
        return freebyBl;
    }

    public void setFreebyBl(BigDecimal freebyBl) {
        this.freebyBl = freebyBl;
    }

    @Basic
    @Column(name = "freeby_sh", nullable = true, precision = 2)
    public BigDecimal getFreebySh() {
        return freebySh;
    }

    public void setFreebySh(BigDecimal freebySh) {
        this.freebySh = freebySh;
    }

    @Basic
    @Column(name = "freeby_oi", nullable = true, precision = 2)
    public BigDecimal getFreebyOi() {
        return freebyOi;
    }

    public void setFreebyOi(BigDecimal freebyOi) {
        this.freebyOi = freebyOi;
    }

    @Basic
    @Column(name = "freeby_is_in", nullable = true, length = 1)
    public String getFreebyIsIn() {
        return freebyIsIn;
    }

    public void setFreebyIsIn(String freebyIsIn) {
        this.freebyIsIn = freebyIsIn;
    }

    @Basic
    @Column(name = "freeby_is_sssc", nullable = true, length = 1)
    public String getFreebyIsSssc() {
        return freebyIsSssc;
    }

    public void setFreebyIsSssc(String freebyIsSssc) {
        this.freebyIsSssc = freebyIsSssc;
    }

    @Basic
    @Column(name = "freeby_is_sd", nullable = true, length = 1)
    public String getFreebyIsSd() {
        return freebyIsSd;
    }

    public void setFreebyIsSd(String freebyIsSd) {
        this.freebyIsSd = freebyIsSd;
    }

    @Basic
    @Column(name = "freeby_is_oil", nullable = true, length = 1)
    public String getFreebyIsOil() {
        return freebyIsOil;
    }

    public void setFreebyIsOil(String freebyIsOil) {
        this.freebyIsOil = freebyIsOil;
    }

    @Basic
    @Column(name = "freeby_is_pre", nullable = true, length = 1)
    public String getFreebyIsPre() {
        return freebyIsPre;
    }

    public void setFreebyIsPre(String freebyIsPre) {
        this.freebyIsPre = freebyIsPre;
    }

    @Basic
    @Column(name = "freeby_is_ti", nullable = true, length = 1)
    public String getFreebyIsTi() {
        return freebyIsTi;
    }

    public void setFreebyIsTi(String freebyIsTi) {
        this.freebyIsTi = freebyIsTi;
    }

    @Basic
    @Column(name = "pur_tax_si", nullable = true, length = 1)
    public String getPurTaxSi() {
        return purTaxSi;
    }

    public void setPurTaxSi(String purTaxSi) {
        this.purTaxSi = purTaxSi;
    }

    @Basic
    @Column(name = "re_si", nullable = true, precision = 2)
    public BigDecimal getReSi() {
        return reSi;
    }

    public void setReSi(BigDecimal reSi) {
        this.reSi = reSi;
    }

    @Basic
    @Column(name = "wh_si", nullable = true, precision = 2)
    public BigDecimal getWhSi() {
        return whSi;
    }

    public void setWhSi(BigDecimal whSi) {
        this.whSi = whSi;
    }

    @Basic
    @Column(name = "c_in_stock_dt", nullable = true)
    public Date getcInStockDt() {
        return cInStockDt;
    }

    public void setcInStockDt(Date cInStockDt) {
        this.cInStockDt = cInStockDt;
    }

    @Basic
    @Column(name = "c_out_stock_dt", nullable = true)
    public Date getcOutStockDt() {
        return cOutStockDt;
    }

    public void setcOutStockDt(Date cOutStockDt) {
        this.cOutStockDt = cOutStockDt;
    }

    @Basic
    @Column(name = "c_re_dt", nullable = true)
    public Date getcReDt() {
        return cReDt;
    }

    public void setcReDt(Date cReDt) {
        this.cReDt = cReDt;
    }

    @Basic
    @Column(name = "c_order_cus_name", nullable = true, length = 30)
    public String getcOrderCusName() {
        return cOrderCusName;
    }

    public void setcOrderCusName(String cOrderCusName) {
        this.cOrderCusName = cOrderCusName;
    }

    @Basic
    @Column(name = "c_invoice_uname", nullable = true, length = 50)
    public String getcInvoiceUname() {
        return cInvoiceUname;
    }

    public void setcInvoiceUname(String cInvoiceUname) {
        this.cInvoiceUname = cInvoiceUname;
    }

    @Basic
    @Column(name = "c_price_ti", nullable = true, precision = 2)
    public BigDecimal getcPriceTi() {
        return cPriceTi;
    }

    public void setcPriceTi(BigDecimal cPriceTi) {
        this.cPriceTi = cPriceTi;
    }

    @Basic
    @Column(name = "c_freeby_in", nullable = true, precision = 2)
    public BigDecimal getcFreebyIn() {
        return cFreebyIn;
    }

    public void setcFreebyIn(BigDecimal cFreebyIn) {
        this.cFreebyIn = cFreebyIn;
    }

    @Basic
    @Column(name = "c_freeby_sub_int", nullable = true, precision = 2)
    public BigDecimal getcFreebySubInt() {
        return cFreebySubInt;
    }

    public void setcFreebySubInt(BigDecimal cFreebySubInt) {
        this.cFreebySubInt = cFreebySubInt;
    }

    @Basic
    @Column(name = "c_freeby_a", nullable = true, precision = 2)
    public BigDecimal getcFreebyA() {
        return cFreebyA;
    }

    public void setcFreebyA(BigDecimal cFreebyA) {
        this.cFreebyA = cFreebyA;
    }

    @Basic
    @Column(name = "c_freeby_b", nullable = true, precision = 2)
    public BigDecimal getcFreebyB() {
        return cFreebyB;
    }

    public void setcFreebyB(BigDecimal cFreebyB) {
        this.cFreebyB = cFreebyB;
    }

    @Basic
    @Column(name = "c_freeby_si", nullable = true, precision = 2)
    public BigDecimal getcFreebySi() {
        return cFreebySi;
    }

    public void setcFreebySi(BigDecimal cFreebySi) {
        this.cFreebySi = cFreebySi;
    }

    @Basic
    @Column(name = "c_freeby_bl", nullable = true, precision = 2)
    public BigDecimal getcFreebyBl() {
        return cFreebyBl;
    }

    public void setcFreebyBl(BigDecimal cFreebyBl) {
        this.cFreebyBl = cFreebyBl;
    }

    @Basic
    @Column(name = "c_freeby_sh", nullable = true, precision = 2)
    public BigDecimal getcFreebySh() {
        return cFreebySh;
    }

    public void setcFreebySh(BigDecimal cFreebySh) {
        this.cFreebySh = cFreebySh;
    }

    @Basic
    @Column(name = "c_freeby_oi", nullable = true, precision = 2)
    public BigDecimal getcFreebyOi() {
        return cFreebyOi;
    }

    public void setcFreebyOi(BigDecimal cFreebyOi) {
        this.cFreebyOi = cFreebyOi;
    }

    @Basic
    @Column(name = "c_freeby_is_in", nullable = true, length = 1)
    public String getcFreebyIsIn() {
        return cFreebyIsIn;
    }

    public void setcFreebyIsIn(String cFreebyIsIn) {
        this.cFreebyIsIn = cFreebyIsIn;
    }

    @Basic
    @Column(name = "c_freeby_is_sssc", nullable = true, length = 1)
    public String getcFreebyIsSssc() {
        return cFreebyIsSssc;
    }

    public void setcFreebyIsSssc(String cFreebyIsSssc) {
        this.cFreebyIsSssc = cFreebyIsSssc;
    }

    @Basic
    @Column(name = "c_freeby_is_sd", nullable = true, length = 1)
    public String getcFreebyIsSd() {
        return cFreebyIsSd;
    }

    public void setcFreebyIsSd(String cFreebyIsSd) {
        this.cFreebyIsSd = cFreebyIsSd;
    }

    @Basic
    @Column(name = "c_freeby_is_oil", nullable = true, length = 1)
    public String getcFreebyIsOil() {
        return cFreebyIsOil;
    }

    public void setcFreebyIsOil(String cFreebyIsOil) {
        this.cFreebyIsOil = cFreebyIsOil;
    }

    @Basic
    @Column(name = "c_freeby_is_pre", nullable = true, length = 1)
    public String getcFreebyIsPre() {
        return cFreebyIsPre;
    }

    public void setcFreebyIsPre(String cFreebyIsPre) {
        this.cFreebyIsPre = cFreebyIsPre;
    }

    @Basic
    @Column(name = "c_freeby_is_ti", nullable = true, length = 1)
    public String getcFreebyIsTi() {
        return cFreebyIsTi;
    }

    public void setcFreebyIsTi(String cFreebyIsTi) {
        this.cFreebyIsTi = cFreebyIsTi;
    }

    @Basic
    @Column(name = "c_pur_tax_si", nullable = true, length = 1)
    public String getcPurTaxSi() {
        return cPurTaxSi;
    }

    public void setcPurTaxSi(String cPurTaxSi) {
        this.cPurTaxSi = cPurTaxSi;
    }

    @Basic
    @Column(name = "c_re_si", nullable = true, precision = 2)
    public BigDecimal getcReSi() {
        return cReSi;
    }

    public void setcReSi(BigDecimal cReSi) {
        this.cReSi = cReSi;
    }

    @Basic
    @Column(name = "c_wh_si", nullable = true, precision = 2)
    public BigDecimal getcWhSi() {
        return cWhSi;
    }

    public void setcWhSi(BigDecimal cWhSi) {
        this.cWhSi = cWhSi;
    }

    @Basic
    @Column(name = "d_in_stock_dt", nullable = true, precision = 2)
    public BigDecimal getdInStockDt() {
        return dInStockDt;
    }

    public void setdInStockDt(BigDecimal dInStockDt) {
        this.dInStockDt = dInStockDt;
    }

    @Basic
    @Column(name = "d_out_stock_dt", nullable = true, precision = 2)
    public BigDecimal getdOutStockDt() {
        return dOutStockDt;
    }

    public void setdOutStockDt(BigDecimal dOutStockDt) {
        this.dOutStockDt = dOutStockDt;
    }

    @Basic
    @Column(name = "d_re_dt", nullable = true, precision = 2)
    public BigDecimal getdReDt() {
        return dReDt;
    }

    public void setdReDt(BigDecimal dReDt) {
        this.dReDt = dReDt;
    }

    @Basic
    @Column(name = "d_order_cus_name", nullable = true, precision = 2)
    public BigDecimal getdOrderCusName() {
        return dOrderCusName;
    }

    public void setdOrderCusName(BigDecimal dOrderCusName) {
        this.dOrderCusName = dOrderCusName;
    }

    @Basic
    @Column(name = "d_invoice_uname", nullable = true, precision = 2)
    public BigDecimal getdInvoiceUname() {
        return dInvoiceUname;
    }

    public void setdInvoiceUname(BigDecimal dInvoiceUname) {
        this.dInvoiceUname = dInvoiceUname;
    }

    @Basic
    @Column(name = "d_price_ti", nullable = true, precision = 2)
    public BigDecimal getdPriceTi() {
        return dPriceTi;
    }

    public void setdPriceTi(BigDecimal dPriceTi) {
        this.dPriceTi = dPriceTi;
    }

    @Basic
    @Column(name = "d_freeby_in", nullable = true, precision = 2)
    public BigDecimal getdFreebyIn() {
        return dFreebyIn;
    }

    public void setdFreebyIn(BigDecimal dFreebyIn) {
        this.dFreebyIn = dFreebyIn;
    }

    @Basic
    @Column(name = "d_freeby_sub_int", nullable = true, precision = 2)
    public BigDecimal getdFreebySubInt() {
        return dFreebySubInt;
    }

    public void setdFreebySubInt(BigDecimal dFreebySubInt) {
        this.dFreebySubInt = dFreebySubInt;
    }

    @Basic
    @Column(name = "d_freeby_a", nullable = true, precision = 2)
    public BigDecimal getdFreebyA() {
        return dFreebyA;
    }

    public void setdFreebyA(BigDecimal dFreebyA) {
        this.dFreebyA = dFreebyA;
    }

    @Basic
    @Column(name = "d_freeby_b", nullable = true, precision = 2)
    public BigDecimal getdFreebyB() {
        return dFreebyB;
    }

    public void setdFreebyB(BigDecimal dFreebyB) {
        this.dFreebyB = dFreebyB;
    }

    @Basic
    @Column(name = "d_freeby_si", nullable = true, precision = 2)
    public BigDecimal getdFreebySi() {
        return dFreebySi;
    }

    public void setdFreebySi(BigDecimal dFreebySi) {
        this.dFreebySi = dFreebySi;
    }

    @Basic
    @Column(name = "d_freeby_bl", nullable = true, precision = 2)
    public BigDecimal getdFreebyBl() {
        return dFreebyBl;
    }

    public void setdFreebyBl(BigDecimal dFreebyBl) {
        this.dFreebyBl = dFreebyBl;
    }

    @Basic
    @Column(name = "d_freeby_sh", nullable = true, precision = 2)
    public BigDecimal getdFreebySh() {
        return dFreebySh;
    }

    public void setdFreebySh(BigDecimal dFreebySh) {
        this.dFreebySh = dFreebySh;
    }

    @Basic
    @Column(name = "d_freeby_oi", nullable = true, precision = 2)
    public BigDecimal getdFreebyOi() {
        return dFreebyOi;
    }

    public void setdFreebyOi(BigDecimal dFreebyOi) {
        this.dFreebyOi = dFreebyOi;
    }

    @Basic
    @Column(name = "d_freeby_is_in", nullable = true, precision = 2)
    public BigDecimal getdFreebyIsIn() {
        return dFreebyIsIn;
    }

    public void setdFreebyIsIn(BigDecimal dFreebyIsIn) {
        this.dFreebyIsIn = dFreebyIsIn;
    }

    @Basic
    @Column(name = "d_freeby_is_sssc", nullable = true, precision = 2)
    public BigDecimal getdFreebyIsSssc() {
        return dFreebyIsSssc;
    }

    public void setdFreebyIsSssc(BigDecimal dFreebyIsSssc) {
        this.dFreebyIsSssc = dFreebyIsSssc;
    }

    @Basic
    @Column(name = "d_freeby_is_sd", nullable = true, precision = 2)
    public BigDecimal getdFreebyIsSd() {
        return dFreebyIsSd;
    }

    public void setdFreebyIsSd(BigDecimal dFreebyIsSd) {
        this.dFreebyIsSd = dFreebyIsSd;
    }

    @Basic
    @Column(name = "d_freeby_is_oil", nullable = true, precision = 2)
    public BigDecimal getdFreebyIsOil() {
        return dFreebyIsOil;
    }

    public void setdFreebyIsOil(BigDecimal dFreebyIsOil) {
        this.dFreebyIsOil = dFreebyIsOil;
    }

    @Basic
    @Column(name = "d_freeby_is_pre", nullable = true, precision = 2)
    public BigDecimal getdFreebyIsPre() {
        return dFreebyIsPre;
    }

    public void setdFreebyIsPre(BigDecimal dFreebyIsPre) {
        this.dFreebyIsPre = dFreebyIsPre;
    }

    @Basic
    @Column(name = "d_freeby_is_ti", nullable = true, precision = 2)
    public BigDecimal getdFreebyIsTi() {
        return dFreebyIsTi;
    }

    public void setdFreebyIsTi(BigDecimal dFreebyIsTi) {
        this.dFreebyIsTi = dFreebyIsTi;
    }

    @Basic
    @Column(name = "d_pur_tax_si", nullable = true, precision = 2)
    public BigDecimal getdPurTaxSi() {
        return dPurTaxSi;
    }

    public void setdPurTaxSi(BigDecimal dPurTaxSi) {
        this.dPurTaxSi = dPurTaxSi;
    }

    @Basic
    @Column(name = "d_re_si", nullable = true, precision = 2)
    public BigDecimal getdReSi() {
        return dReSi;
    }

    public void setdReSi(BigDecimal dReSi) {
        this.dReSi = dReSi;
    }

    @Basic
    @Column(name = "d_wh_si", nullable = true, precision = 2)
    public BigDecimal getdWhSi() {
        return dWhSi;
    }

    public void setdWhSi(BigDecimal dWhSi) {
        this.dWhSi = dWhSi;
    }

    @Basic
    @Column(name = "compare_result", nullable = true, length = 2)
    public String getCompareResult() {
        return compareResult;
    }

    public void setCompareResult(String compareResult) {
        this.compareResult = compareResult;
    }

    @Basic
    @Column(name = "total_score", nullable = true, precision = 2)
    public BigDecimal getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(BigDecimal totalScore) {
        this.totalScore = totalScore;
    }

    @Basic
    @Column(name = "import_time", nullable = true)
    public Timestamp getImportTime() {
        return importTime;
    }

    public void setImportTime(Timestamp importTime) {
        this.importTime = importTime;
    }

    @Basic
    @Column(name = "import_user", nullable = true, length = 32)
    public String getImportUser() {
        return importUser;
    }

    public void setImportUser(String importUser) {
        this.importUser = importUser;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        TSalesAdminCheckModel that = (TSalesAdminCheckModel) o;

        if (id != that.id) return false;
        if (importBatch != null ? !importBatch.equals(that.importBatch) : that.importBatch != null) return false;
        if (permit != null ? !permit.equals(that.permit) : that.permit != null) return false;
        if (vin != null ? !vin.equals(that.vin) : that.vin != null) return false;
        if (evaluationUser != null ? !evaluationUser.equals(that.evaluationUser) : that.evaluationUser != null)
            return false;
        if (inStockDt != null ? !inStockDt.equals(that.inStockDt) : that.inStockDt != null) return false;
        if (outStockDt != null ? !outStockDt.equals(that.outStockDt) : that.outStockDt != null) return false;
        if (reDt != null ? !reDt.equals(that.reDt) : that.reDt != null) return false;
        if (orderCusName != null ? !orderCusName.equals(that.orderCusName) : that.orderCusName != null) return false;
        if (invoiceUname != null ? !invoiceUname.equals(that.invoiceUname) : that.invoiceUname != null) return false;
        if (priceTi != null ? !priceTi.equals(that.priceTi) : that.priceTi != null) return false;
        if (freebyIn != null ? !freebyIn.equals(that.freebyIn) : that.freebyIn != null) return false;
        if (freebySubInt != null ? !freebySubInt.equals(that.freebySubInt) : that.freebySubInt != null) return false;
        if (freebyA != null ? !freebyA.equals(that.freebyA) : that.freebyA != null) return false;
        if (freebyB != null ? !freebyB.equals(that.freebyB) : that.freebyB != null) return false;
        if (freebySi != null ? !freebySi.equals(that.freebySi) : that.freebySi != null) return false;
        if (freebyBl != null ? !freebyBl.equals(that.freebyBl) : that.freebyBl != null) return false;
        if (freebySh != null ? !freebySh.equals(that.freebySh) : that.freebySh != null) return false;
        if (freebyOi != null ? !freebyOi.equals(that.freebyOi) : that.freebyOi != null) return false;
        if (freebyIsIn != null ? !freebyIsIn.equals(that.freebyIsIn) : that.freebyIsIn != null) return false;
        if (freebyIsSssc != null ? !freebyIsSssc.equals(that.freebyIsSssc) : that.freebyIsSssc != null) return false;
        if (freebyIsSd != null ? !freebyIsSd.equals(that.freebyIsSd) : that.freebyIsSd != null) return false;
        if (freebyIsOil != null ? !freebyIsOil.equals(that.freebyIsOil) : that.freebyIsOil != null) return false;
        if (freebyIsPre != null ? !freebyIsPre.equals(that.freebyIsPre) : that.freebyIsPre != null) return false;
        if (freebyIsTi != null ? !freebyIsTi.equals(that.freebyIsTi) : that.freebyIsTi != null) return false;
        if (purTaxSi != null ? !purTaxSi.equals(that.purTaxSi) : that.purTaxSi != null) return false;
        if (reSi != null ? !reSi.equals(that.reSi) : that.reSi != null) return false;
        if (whSi != null ? !whSi.equals(that.whSi) : that.whSi != null) return false;
        if (cInStockDt != null ? !cInStockDt.equals(that.cInStockDt) : that.cInStockDt != null) return false;
        if (cOutStockDt != null ? !cOutStockDt.equals(that.cOutStockDt) : that.cOutStockDt != null) return false;
        if (cReDt != null ? !cReDt.equals(that.cReDt) : that.cReDt != null) return false;
        if (cOrderCusName != null ? !cOrderCusName.equals(that.cOrderCusName) : that.cOrderCusName != null)
            return false;
        if (cInvoiceUname != null ? !cInvoiceUname.equals(that.cInvoiceUname) : that.cInvoiceUname != null)
            return false;
        if (cPriceTi != null ? !cPriceTi.equals(that.cPriceTi) : that.cPriceTi != null) return false;
        if (cFreebyIn != null ? !cFreebyIn.equals(that.cFreebyIn) : that.cFreebyIn != null) return false;
        if (cFreebySubInt != null ? !cFreebySubInt.equals(that.cFreebySubInt) : that.cFreebySubInt != null)
            return false;
        if (cFreebyA != null ? !cFreebyA.equals(that.cFreebyA) : that.cFreebyA != null) return false;
        if (cFreebyB != null ? !cFreebyB.equals(that.cFreebyB) : that.cFreebyB != null) return false;
        if (cFreebySi != null ? !cFreebySi.equals(that.cFreebySi) : that.cFreebySi != null) return false;
        if (cFreebyBl != null ? !cFreebyBl.equals(that.cFreebyBl) : that.cFreebyBl != null) return false;
        if (cFreebySh != null ? !cFreebySh.equals(that.cFreebySh) : that.cFreebySh != null) return false;
        if (cFreebyOi != null ? !cFreebyOi.equals(that.cFreebyOi) : that.cFreebyOi != null) return false;
        if (cFreebyIsIn != null ? !cFreebyIsIn.equals(that.cFreebyIsIn) : that.cFreebyIsIn != null) return false;
        if (cFreebyIsSssc != null ? !cFreebyIsSssc.equals(that.cFreebyIsSssc) : that.cFreebyIsSssc != null)
            return false;
        if (cFreebyIsSd != null ? !cFreebyIsSd.equals(that.cFreebyIsSd) : that.cFreebyIsSd != null) return false;
        if (cFreebyIsOil != null ? !cFreebyIsOil.equals(that.cFreebyIsOil) : that.cFreebyIsOil != null) return false;
        if (cFreebyIsPre != null ? !cFreebyIsPre.equals(that.cFreebyIsPre) : that.cFreebyIsPre != null) return false;
        if (cFreebyIsTi != null ? !cFreebyIsTi.equals(that.cFreebyIsTi) : that.cFreebyIsTi != null) return false;
        if (cPurTaxSi != null ? !cPurTaxSi.equals(that.cPurTaxSi) : that.cPurTaxSi != null) return false;
        if (cReSi != null ? !cReSi.equals(that.cReSi) : that.cReSi != null) return false;
        if (cWhSi != null ? !cWhSi.equals(that.cWhSi) : that.cWhSi != null) return false;
        if (dInStockDt != null ? !dInStockDt.equals(that.dInStockDt) : that.dInStockDt != null) return false;
        if (dOutStockDt != null ? !dOutStockDt.equals(that.dOutStockDt) : that.dOutStockDt != null) return false;
        if (dReDt != null ? !dReDt.equals(that.dReDt) : that.dReDt != null) return false;
        if (dOrderCusName != null ? !dOrderCusName.equals(that.dOrderCusName) : that.dOrderCusName != null)
            return false;
        if (dInvoiceUname != null ? !dInvoiceUname.equals(that.dInvoiceUname) : that.dInvoiceUname != null)
            return false;
        if (dPriceTi != null ? !dPriceTi.equals(that.dPriceTi) : that.dPriceTi != null) return false;
        if (dFreebyIn != null ? !dFreebyIn.equals(that.dFreebyIn) : that.dFreebyIn != null) return false;
        if (dFreebySubInt != null ? !dFreebySubInt.equals(that.dFreebySubInt) : that.dFreebySubInt != null)
            return false;
        if (dFreebyA != null ? !dFreebyA.equals(that.dFreebyA) : that.dFreebyA != null) return false;
        if (dFreebyB != null ? !dFreebyB.equals(that.dFreebyB) : that.dFreebyB != null) return false;
        if (dFreebySi != null ? !dFreebySi.equals(that.dFreebySi) : that.dFreebySi != null) return false;
        if (dFreebyBl != null ? !dFreebyBl.equals(that.dFreebyBl) : that.dFreebyBl != null) return false;
        if (dFreebySh != null ? !dFreebySh.equals(that.dFreebySh) : that.dFreebySh != null) return false;
        if (dFreebyOi != null ? !dFreebyOi.equals(that.dFreebyOi) : that.dFreebyOi != null) return false;
        if (dFreebyIsIn != null ? !dFreebyIsIn.equals(that.dFreebyIsIn) : that.dFreebyIsIn != null) return false;
        if (dFreebyIsSssc != null ? !dFreebyIsSssc.equals(that.dFreebyIsSssc) : that.dFreebyIsSssc != null)
            return false;
        if (dFreebyIsSd != null ? !dFreebyIsSd.equals(that.dFreebyIsSd) : that.dFreebyIsSd != null) return false;
        if (dFreebyIsOil != null ? !dFreebyIsOil.equals(that.dFreebyIsOil) : that.dFreebyIsOil != null) return false;
        if (dFreebyIsPre != null ? !dFreebyIsPre.equals(that.dFreebyIsPre) : that.dFreebyIsPre != null) return false;
        if (dFreebyIsTi != null ? !dFreebyIsTi.equals(that.dFreebyIsTi) : that.dFreebyIsTi != null) return false;
        if (dPurTaxSi != null ? !dPurTaxSi.equals(that.dPurTaxSi) : that.dPurTaxSi != null) return false;
        if (dReSi != null ? !dReSi.equals(that.dReSi) : that.dReSi != null) return false;
        if (dWhSi != null ? !dWhSi.equals(that.dWhSi) : that.dWhSi != null) return false;
        if (compareResult != null ? !compareResult.equals(that.compareResult) : that.compareResult != null)
            return false;
        if (totalScore != null ? !totalScore.equals(that.totalScore) : that.totalScore != null) return false;
        if (importTime != null ? !importTime.equals(that.importTime) : that.importTime != null) return false;
        if (importUser != null ? !importUser.equals(that.importUser) : that.importUser != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id;
        result = 31 * result + (importBatch != null ? importBatch.hashCode() : 0);
        result = 31 * result + (permit != null ? permit.hashCode() : 0);
        result = 31 * result + (vin != null ? vin.hashCode() : 0);
        result = 31 * result + (evaluationUser != null ? evaluationUser.hashCode() : 0);
        result = 31 * result + (inStockDt != null ? inStockDt.hashCode() : 0);
        result = 31 * result + (outStockDt != null ? outStockDt.hashCode() : 0);
        result = 31 * result + (reDt != null ? reDt.hashCode() : 0);
        result = 31 * result + (orderCusName != null ? orderCusName.hashCode() : 0);
        result = 31 * result + (invoiceUname != null ? invoiceUname.hashCode() : 0);
        result = 31 * result + (priceTi != null ? priceTi.hashCode() : 0);
        result = 31 * result + (freebyIn != null ? freebyIn.hashCode() : 0);
        result = 31 * result + (freebySubInt != null ? freebySubInt.hashCode() : 0);
        result = 31 * result + (freebyA != null ? freebyA.hashCode() : 0);
        result = 31 * result + (freebyB != null ? freebyB.hashCode() : 0);
        result = 31 * result + (freebySi != null ? freebySi.hashCode() : 0);
        result = 31 * result + (freebyBl != null ? freebyBl.hashCode() : 0);
        result = 31 * result + (freebySh != null ? freebySh.hashCode() : 0);
        result = 31 * result + (freebyOi != null ? freebyOi.hashCode() : 0);
        result = 31 * result + (freebyIsIn != null ? freebyIsIn.hashCode() : 0);
        result = 31 * result + (freebyIsSssc != null ? freebyIsSssc.hashCode() : 0);
        result = 31 * result + (freebyIsSd != null ? freebyIsSd.hashCode() : 0);
        result = 31 * result + (freebyIsOil != null ? freebyIsOil.hashCode() : 0);
        result = 31 * result + (freebyIsPre != null ? freebyIsPre.hashCode() : 0);
        result = 31 * result + (freebyIsTi != null ? freebyIsTi.hashCode() : 0);
        result = 31 * result + (purTaxSi != null ? purTaxSi.hashCode() : 0);
        result = 31 * result + (reSi != null ? reSi.hashCode() : 0);
        result = 31 * result + (whSi != null ? whSi.hashCode() : 0);
        result = 31 * result + (cInStockDt != null ? cInStockDt.hashCode() : 0);
        result = 31 * result + (cOutStockDt != null ? cOutStockDt.hashCode() : 0);
        result = 31 * result + (cReDt != null ? cReDt.hashCode() : 0);
        result = 31 * result + (cOrderCusName != null ? cOrderCusName.hashCode() : 0);
        result = 31 * result + (cInvoiceUname != null ? cInvoiceUname.hashCode() : 0);
        result = 31 * result + (cPriceTi != null ? cPriceTi.hashCode() : 0);
        result = 31 * result + (cFreebyIn != null ? cFreebyIn.hashCode() : 0);
        result = 31 * result + (cFreebySubInt != null ? cFreebySubInt.hashCode() : 0);
        result = 31 * result + (cFreebyA != null ? cFreebyA.hashCode() : 0);
        result = 31 * result + (cFreebyB != null ? cFreebyB.hashCode() : 0);
        result = 31 * result + (cFreebySi != null ? cFreebySi.hashCode() : 0);
        result = 31 * result + (cFreebyBl != null ? cFreebyBl.hashCode() : 0);
        result = 31 * result + (cFreebySh != null ? cFreebySh.hashCode() : 0);
        result = 31 * result + (cFreebyOi != null ? cFreebyOi.hashCode() : 0);
        result = 31 * result + (cFreebyIsIn != null ? cFreebyIsIn.hashCode() : 0);
        result = 31 * result + (cFreebyIsSssc != null ? cFreebyIsSssc.hashCode() : 0);
        result = 31 * result + (cFreebyIsSd != null ? cFreebyIsSd.hashCode() : 0);
        result = 31 * result + (cFreebyIsOil != null ? cFreebyIsOil.hashCode() : 0);
        result = 31 * result + (cFreebyIsPre != null ? cFreebyIsPre.hashCode() : 0);
        result = 31 * result + (cFreebyIsTi != null ? cFreebyIsTi.hashCode() : 0);
        result = 31 * result + (cPurTaxSi != null ? cPurTaxSi.hashCode() : 0);
        result = 31 * result + (cReSi != null ? cReSi.hashCode() : 0);
        result = 31 * result + (cWhSi != null ? cWhSi.hashCode() : 0);
        result = 31 * result + (dInStockDt != null ? dInStockDt.hashCode() : 0);
        result = 31 * result + (dOutStockDt != null ? dOutStockDt.hashCode() : 0);
        result = 31 * result + (dReDt != null ? dReDt.hashCode() : 0);
        result = 31 * result + (dOrderCusName != null ? dOrderCusName.hashCode() : 0);
        result = 31 * result + (dInvoiceUname != null ? dInvoiceUname.hashCode() : 0);
        result = 31 * result + (dPriceTi != null ? dPriceTi.hashCode() : 0);
        result = 31 * result + (dFreebyIn != null ? dFreebyIn.hashCode() : 0);
        result = 31 * result + (dFreebySubInt != null ? dFreebySubInt.hashCode() : 0);
        result = 31 * result + (dFreebyA != null ? dFreebyA.hashCode() : 0);
        result = 31 * result + (dFreebyB != null ? dFreebyB.hashCode() : 0);
        result = 31 * result + (dFreebySi != null ? dFreebySi.hashCode() : 0);
        result = 31 * result + (dFreebyBl != null ? dFreebyBl.hashCode() : 0);
        result = 31 * result + (dFreebySh != null ? dFreebySh.hashCode() : 0);
        result = 31 * result + (dFreebyOi != null ? dFreebyOi.hashCode() : 0);
        result = 31 * result + (dFreebyIsIn != null ? dFreebyIsIn.hashCode() : 0);
        result = 31 * result + (dFreebyIsSssc != null ? dFreebyIsSssc.hashCode() : 0);
        result = 31 * result + (dFreebyIsSd != null ? dFreebyIsSd.hashCode() : 0);
        result = 31 * result + (dFreebyIsOil != null ? dFreebyIsOil.hashCode() : 0);
        result = 31 * result + (dFreebyIsPre != null ? dFreebyIsPre.hashCode() : 0);
        result = 31 * result + (dFreebyIsTi != null ? dFreebyIsTi.hashCode() : 0);
        result = 31 * result + (dPurTaxSi != null ? dPurTaxSi.hashCode() : 0);
        result = 31 * result + (dReSi != null ? dReSi.hashCode() : 0);
        result = 31 * result + (dWhSi != null ? dWhSi.hashCode() : 0);
        result = 31 * result + (compareResult != null ? compareResult.hashCode() : 0);
        result = 31 * result + (totalScore != null ? totalScore.hashCode() : 0);
        result = 31 * result + (importTime != null ? importTime.hashCode() : 0);
        result = 31 * result + (importUser != null ? importUser.hashCode() : 0);
        return result;
    }
}
